import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'businessInfo/list',
    data: info,
    method: 'post'
  })
}

export const insertEnter = info => {
  return axios.request({
    url: 'businessInfo/insertEnter',
    data: info,
    method: 'post'
  })
}
export const updateEnter = info => {
  return axios.request({
    url: 'businessInfo/updateEnter',
    data: info,
    method: 'post'
  })
}
export const deleteEnter = info => {
  return axios.request({
    url: 'businessInfo/deleteEnter',
    data: info,
    method: 'post'
  })
}
export const getBusinessInfo = info => {
  return axios.request({
    url: 'businessInfo/getBusinessInfo',
    data: info,
    method: 'post'
  })
}

export const setBusinessInfo = info => {
  return axios.request({
    url: 'businessInfo/setBusinessInfo',
    data: info,
    method: 'post'
  })
}
export const checkedBusinessInfo = info => {
  return axios.request({
    url: 'businessInfo/checkedBusinessInfo',
    data: info,
    method: 'post'
  })
}